package com.atguigu.reivew;

public class Demo { //demo：演示，样例
    //成员变量
    public static int a;//静态变量
    public int b;//非静态变量，也叫实例变量


    public void m1(){
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }
    public static void m2(){
        System.out.println("a = " + a);
//        System.out.println("b = " + b);
    }
}
